/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pb138;

/**
 *
 * @author Vasa
 */
public class XMLParserImpl implements XMLParser{
    
    public String parseXML(String xml)
    {
        String ret = "";
        try{
            byte[] utfBytes = xml.getBytes("ISO-8859-2");

            ret = new String(utfBytes,"ISO-8859-2");
            //ret = encoded;
        }catch(Exception ex){

        }
        return ret.replaceAll("\\<.*?>","");
    }
}
